package com.tyqx.hashchaindao.mapper;

import com.tyqx.hashchainbean.module.JZTGS1Relationship;
import com.tyqx.hashchainbean.module.JZTLogisticsRelationship;
import com.tyqx.hashchainbean.vo.JZTGS1RelationshipVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JZTGS1RelationshipMapper {

    public Integer addJZTGS1Relationship(JZTGS1Relationship jztgs1Relationship);

    public List<String> getTraceabilityCodeBySSccCode(String ssccCode);

    public Integer insertBatch(@Param("jztgs1RelationshipList") List<JZTGS1Relationship> jztgs1RelationshipList);

    public List<JZTGS1RelationshipVO> getJZTGS1RelationshipListBySSccCode(String ssccCode);

    public List<JZTGS1RelationshipVO> getJZTGS1RelationshipListByTraceabilityCode(String traceabilityCode);
}
